import { DefinceSchema } from './DefinceSchema'
import { FileSchema } from './FileSchema'

export interface ClaimSchema {
  accept_datetime: number
  amend_type: string
  caseid: string
  child_claimid: string
  claim_type: string
  create_datetime: number
  dispute_amount: number
  dispute_amount_amend: number
  docket_datetime: number
  fee: number
  fee_acceptance: number
  fee_acceptance_amend: number
  fee_acceptance_derate: number
  fee_pay_datetime: number
  fee_processing: number
  fee_processing_amend: number
  fee_processing_derate: number
  fee_type: string
  fileid: string
  file?: FileSchema[]
  id: string
  item_count: number
  item_count_amend: number
  items: ClaimItemSchema[]
  log: string
  operator: string
  operatorid: string
  party_type: string
  statement: string
  status: number
  submittal: string
  submittalid: string
  defince?: DefinceSchema[]
}

export interface ClaimItemSchema {
  amend_type: string
  claim_tempcode: string
  claimid: string
  claimlogid: string
  create_datetime: number
  desc: string
  dispute_amount: number
  fee: number
  fee_acceptance: number
  fee_processing: number
  id?: string
  operator: string
  operatorid: string
  orderno: string
  type: string
}
